package com.yanqu.xiuxian.config.elementalbonds.enums;

public enum ElementalBondsShapeType {

    STRAIGHT_LINE_FIVE("直线5个",
            ElementalBondsBlockType.METEOR,
            new int[][]{
                    {1, 1, 1, 1, 1},
            }),

    STRAIGHT_LINE_L("直线L形",
            ElementalBondsBlockType.LANDMINE,
            new int[][]{
                    {1, 0, 0},
                    {1, 0, 0},
                    {1, 1, 1},
            }),

    STRAIGHT_LINE_T("直线T形",
            ElementalBondsBlockType.LANDMINE,
            new int[][]{
                    {1, 1, 1},
                    {0, 1, 0},
                    {0, 1, 0},
            }),
    STRAIGHT_LINE_CROSS("直线十字",
            ElementalBondsBlockType.LANDMINE,
            new int[][]{
                    {0, 1, 0},
                    {1, 1, 1},
                    {0, 1, 0},
            }),

    STRAIGHT_LINE_FOUR("直线4个",
            ElementalBondsBlockType.NONE,
            new int[][]{
                    {1, 1, 1, 1},
            }),

    ;

    private final String desc;
    private final ElementalBondsBlockType elementalBondsBlockType;
    private final int[][] value;

    ElementalBondsShapeType(String desc, ElementalBondsBlockType elementalBondsBlockType, int[][] value) {
        this.desc = desc;
        this.elementalBondsBlockType = elementalBondsBlockType;
        this.value = value;
    }

    public String getDesc() {
        return desc;
    }

    public ElementalBondsBlockType getElementalBondsBlockType() {
        return elementalBondsBlockType;
    }

    public int[][] getValue() {
        return value;
    }
}
